export default [
    {
        path:'/look',
        name:'look',
        meta:{
            title:'宝宝看',
            icon:'icon-shipin'
        },
        footerNav:true,
        children:[
            {
                path:'/look/songs',
                name:'songs',
                meta:{
                    title:'儿歌'
                },
                component:() => import('@/views/look/songs')
            },
            {
                path:'/look/story',
                name:'story',
                meta:{
                    title:'故事'
                },
                component:() => import('@/views/look/story')
            },
            {
                path:'/look/cartoon',
                name:'cartoon',
                meta:{
                    title:'动画片'
                },
                component:() => import('@/views/look/cartoon')
            },
            {
                path:'/look',
                redirect:'/look/songs'
            }
        ],
        component:() => import('@/views/look')
    },
    {
        path:'/listen',  //path ===  window.location.pathname 
        name:'listen',
        meta:{
            title:'宝宝听',
            icon:'icon-yinyue'
        },
        footerNav:true,
        component:() => import('@/views/listen')
    },
    {
        path:'/my',
        name:'my',
        meta:{
            title:'我的',
            icon:'icon-wode'
        },
        footerNav:true,
        component:() => import('@/views/my')
    },
    {
        path:'/',
        redirect:'/look'
    }
];